<template>
  <div class="city-header">
    <Navbar title="选择城市">
         <router-link to="/home">
          <span style="margin-right: 20px">
            <van-icon name="home-o" size="24" />
          </span>
        </router-link>
        <router-link to="/search">
          <van-icon name="search" size="24" />
        </router-link>
    </Navbar>
  </div>
</template>

<script setup>
import { useRouter } from "vue-router";
import Navbar from '@/components/Navbar';

const router = useRouter();
const goBack = () => {
  // console.log('点击左边')
  router.go(-1);
};
</script>

<style>
</style>